#include <iostream>
#include "student.h"

int main()
{
	Student ul("uncle-lu", 21190603, Date(2001,6,12));

	CourseItem c1[4]=
	{
		(CourseItem){"En", "t1", 60},
		(CourseItem){"Math", "t2", 60},
		(CourseItem){"Chinese", "t3", 60},
		(CourseItem){"Fly", "t4", 60}
	};

	CourseItem c2[4]=
	{
		(CourseItem){"tql", "t5", 70},
		(CourseItem){"alal", "t6", 70},
		(CourseItem){"pse", "t7", 70},
		(CourseItem){"wow", "t8", 70}
	};

	Term te1(4, c1), te2(4, c2);

	ul.push_back(te1);
	ul.push_back(te2);

	Term te3(ul[1]);

	for (int i =  0; i < te3.size(); i++) 
	{
		std::cout << te3[i].get_CourseName() << " " << te3[i].get_Teacher() << " " << te3[i].get_Score() << std::endl;
	}

	return 0;
}
